﻿Imports System.Drawing
Namespace Figuras
    Public MustInherit Class Figura
        Private _posicion As Point
        Public Property Posicion() As Point
            Get
                Return _posicion
            End Get
            Set(ByVal value As Point)
                _posicion = value
            End Set
        End Property

        MustOverride Function CalcularArea() As Double

        MustOverride Function ContienePunto(ByVal punto As Point) As Boolean

        MustOverride Sub Dibujar(ByVal lienzo As Graphics)
    End Class

End Namespace